Developer --> Technical Publications
PATHJava Developer Documentation > Mac OS Runtime for Java > JManager > Programming With JManager


Frame Types

When an AWT context requests a new frame through the MyRequestFrame callback, it specifies the type of frame desired. The type of frame is specified by the JMFrameKind type.

enum JMFrameKind {
    eBorderlessModelessWindowFrame = 0,
    eModelessWindowFrame,
    eModalWindowFrame
    };

Constant descriptions

eBorderlessModelessWindowFrame
A modeless borderless frame. This frame type is analogous to a Mac OS borderless window (for example, a window of type plainDBox ). Other frames can appear on top of this one.
eModelessWindowFrame
A modeless frame. This frame type is analogous to a standard Mac OS window (with title bar, size box, and so on) such as those of type zoomDocProc .
eModalWindowFrame
A modal frame. This frame type is analogous to a Mac OS modal dialog window (for example a window of type dBoxProc ). You should not create other frames on top of a modal frame, but you can create frames underneath it. Note that your application is responsible for enforcing the modal behavior of these windows.

See the description of the function MyRequestFrame for more information about using these values.

For more information about Mac OS window types, see "Window Manager" in Inside Macintosh: Macintosh Toolbox Essentials.


© 1998 Apple Computer, Inc. — (Last Updated 3 Dec 98)

Previous | Back Up One Level | Next |